/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package tpdisenio2009.mvp.display;

import java.awt.event.ActionListener;
import java.awt.event.ItemListener;
import java.util.List;
import tpdisenio2009.model.beans.SoccerMatch;
import tpdisenio2009.model.beans.TournamentDate;

/**
 *
 * @author DeuterioX
 */
public interface CloseTournamentDateView extends View {

    void setDates( List<TournamentDate> dates );
    void setFirstOpenDate( TournamentDate date );
    TournamentDate getDate();

    List<SoccerMatch> getSoccerMatch();

    void showError( String errorMessage, String titleMessageWindow );
    void showNotification( String notificationMessage, String notificationTitle);

    void setState( List<String> states  );
    void loadMatches( List<SoccerMatch> matches );

    void addDateChangeListener( ItemListener listener );
    void removeDateChangeListener( ItemListener listener );

    void addCloseDateListener( ActionListener listener );
    void removeCloseDateListener( ActionListener listener );

    boolean showConfirmation( String notifiactionMessage );

}
